package homework34;

public class SearchContext1 extends SearchContext{
    @Override
    public void search(String key) {
        if(key == "key01"){
            System.out.println("在ARCTIC FOX中查到相关的内容...");
        }else if(this.successor != null){
            this.successor.search(key);
        }
    }
}